package com.crm.dao.mapper.customMapper.cluePoolManagerCustomMapper;

import com.crm.model.entity.cluePoolManager.ClueVisitRecord;
import com.crm.model.vo.cluePoolManager.ClueVisitRecordVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ Author ：wll
 */
public interface ClueVisitRecordCustomMapper {

    /**
     * @author wll
     * info 拜访记录
     */
    List<ClueVisitRecordVO> selectClueVisitRecordVOList(@Param("clueId")String clueId);

    /**
     * @author wll
     * info 添加拜访 陪访记录
     */
    int insertClueVisitVecord(@Param("clueVisitRecord")ClueVisitRecord clueVisitRecord);

    /**
     * 单品客户拜访记录
     * @Author pym
     * @Date  2021/5/12 16:41
     * @param singleProductCustomerId 单品客户ID
     * @param order 排序
     * @param accountId 账号ID
     * @return {@link {java.util.List<com.crm.model.vo.cluePoolManager.ClueVisitRecordVO>}}
     */
    List<ClueVisitRecordVO> selectSingleProductCustomerClueVisitRecordList(@Param("singleProductCustomerId") String singleProductCustomerId,
                                                                           @Param("order") String order,
                                                                           @Param("accountId") String accountId);
}
